package cn;

import org.apache.shiro.crypto.hash.SimpleHash;
import org.junit.Test;

/**
 * <p>功能描述: </p>
 *
 * @author webrx
 * @version 1.0
 * @date 2020-06-09 16:12
 */

public class Demo {
    @Test
    public void t() {
        //wangwu  123
        String username = "lisi";
        String password = "lisi";
        Object salt;
        SimpleHash sh = new SimpleHash("md5", password, username, 10);
        System.out.println(sh);
    }
}
